package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.pojo.*;
import com.itheima.utils.TliasException;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;

public interface EmpService {
    public PageResult page(EmpQueryParam empQueryParam);
    //删除员工
    void deleteEmployee(List<Integer> ids);

    void addEmployee(Emp emp);

    Emp findById(Integer id);

    void modifyEmployee(Emp emp);


    List<Emp> queryAllEmployees();

    //登录
    LoginInfo login(Emp emp) throws TliasException;
}
